# a = 6
# b = True
# c = False
# print(a + b)

# c = input('输入一个数：')
# b = input('输入一个数：')
#
# if c == '1':
#     if b == '2':
#         print('hehe')
#     print('haha')


# 注意比较的是字符串 ’1‘  ，而不是 整数 1 ！！！！
# if c == '1':
#     print('哈哈哈')
# elif c == '2':
#     print('hehe')
# else:
#     print('eeee')

# a = 1
# while a <= 10:
#     print(a)
#     a = a + 1

# 计算 1！+ 2！+ ……+ 5！
#
# sum = 0
# num = 1
# while num <= 5:
#     i = 1
#     add = 1
#     while i <= num:
#         add *= i
#         i += 1
#     sum += add
#     num += 1
# print(f'sum = {sum}')
